package edu.mit.media.fv.events
{
	import flash.events.Event;
	
	public class TimelineEvent extends Event
	{
		public static const REQUEST_UPDATE_TIME:String = "fvrequestupdatetime";
		public static const UPDATE_TIMELINE:String = "fvUpdateTimeline";
		public var date:Date;
		public var start:Date;
		public var end:Date;
		public var granularity:int;
		//array of object dictionaries
		public var messages:Array;
		public function TimelineEvent(type:String, date:Date = null, granularity:int = -1)
		{
			super(type);
			this.date = date;
			this.start = date;
			this.end = date;
			this.granularity = granularity;
		}

	}
}